﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using IService.DataDLL;
using IService.Model;

namespace IService.Data.IManager
{
	public interface IAdminDaManager
	{
		DTVAdmin GetUserById(DTVAdmin admin);
		DataTable GetUserListPagin(Type infoType, PagingEntity pe);
		bool InsertUser(DTVAdmin admin);
		bool UpdateUser(DTVAdmin admin);
		bool DeleteUser(DTVAdmin admin);
		bool DeleteUserByIds(Type infoType, string WhereClause);
		DTVAdmin Login(string username, string userpass);
		DTVAdmin LoginByParam(string username, string userpass);
	}
}
